package cate.common.table.d;

import cate.common.table.common.ParamSheet;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass(value = "香料研制")
public class GDSpiceCall {
    @NoteField(value = "每日免费研制次数")
    public static int FREE_CALL_TIME;

    @NoteField(value = "香料研制的个人日志数量最大值")
    public static int LOG_MAX;

    @NoteField(value = "香料研制的全服日志数量最大值")
    public static int ZONE_LOG_MAX;

    @NoteField(value = "香料研制临时背包大小")
    public static int TEMP_BAG_INIT_SIZE;

    @NoteField(value = "香料研制初始位置")
    public static final int INIT_POS = 1;
    public static final int NIUBI_POS = 4;

    @NoteField("免费头像")
    public static int FREE_HEAD_ICON;



    /** 读取excel中配置的参数 */
    public static void initialize(ParamSheet paramSheet) {
        FREE_CALL_TIME = GDParamTool.getInt(paramSheet,110000, 1);
        LOG_MAX = GDParamTool.getInt(paramSheet,110001, 20);
        ZONE_LOG_MAX = GDParamTool.getInt(paramSheet,110002, 20);
        TEMP_BAG_INIT_SIZE = GDParamTool.getInt(paramSheet,110003, 10);
        FREE_HEAD_ICON = GDParamTool.getInt(paramSheet, 5005, 701311);
    }
}
